<%@ Page Language="c#" CodeBehind="XmlEdit.aspx.cs" MasterPageFile="~/App_MasterPages/layout.Master"
    AutoEventWireup="false" Inherits="mojoPortal.Web.XmlUI.EditXml" %>

<asp:content contentplaceholderid="leftContent" id="MPLeftPane" runat="server" />
<asp:content contentplaceholderid="mainContent" id="MPContent" runat="server">
    <mp:CornerRounderTop ID="ctop1" runat="server" />
    <asp:panel id="pnlWrapper" runat="server" cssclass="panelwrapper xmlmodule">
        <div class="modulecontent">
            <fieldset class="xmledit">
                <legend>
                    <mp:SiteLabel ID="lblSettings" runat="server" ConfigKey="EditXmlSettingsLabel" ResourceFile="XmlResources"
                        UseLabelTag="false"></mp:SiteLabel>
                </legend>
                <asp:panel id="pnlEdit" runat="server" cssclass="modulecontent" defaultbutton="updateButton">
                    <div class="settingrow">
                        <mp:SiteLabel ID="lblXmlDataFile" runat="server" ForControl="ddXml" CssClass="settinglabel"
                            ConfigKey="EditXmlFileLabel" ResourceFile="XmlResources"></mp:SiteLabel>
                        <asp:dropdownlist id="ddXml" runat="server" enabletheming="false" cssclass="forminput"
                            datavaluefield="Name" datatextfield="Name">
                        </asp:dropdownlist>
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="lblXslFile" runat="server" ForControl="ddXsl" CssClass="settinglabel"
                            ConfigKey="EditXslFileLabel" ResourceFile="XmlResources"></mp:SiteLabel>
                        <asp:dropdownlist id="ddXsl" runat="server" enabletheming="false" cssclass="forminput"
                            datavaluefield="Name" datatextfield="Name">
                        </asp:dropdownlist>
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="SiteLabel2" runat="server" ForControl="txtXmlUrl" CssClass="settinglabel"
                            ConfigKey="XmlUrl" ResourceFile="XmlResources"></mp:SiteLabel>
                        <asp:TextBox id="txtXmlUrl" runat="server" CssClass="verywidetextbox forminput" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="SiteLabel4" runat="server" ForControl="txtXslUrl" CssClass="settinglabel"
                            ConfigKey="XslUrl" ResourceFile="XmlResources"></mp:SiteLabel>
                        <asp:TextBox id="txtXslUrl" runat="server" CssClass="verywidetextbox forminput" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="SiteLabel35" runat="server" CssClass="settinglabel" ConfigKey="spacer" />
                        <div class="forminput">
                            <portal:mojoButton ID="updateButton" runat="server" />&nbsp;
                            <asp:hyperlink id="lnkCancel" runat="server" cssclass="cancellink" />&nbsp;
                        </div>
                        <portal:mojoHelpLink ID="MojoHelpLink1" runat="server" HelpKey="xml-edit-help" />
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="Sitelabel3" runat="server" ForControl="fileToUpload" CssClass="settinglabel"
                            ConfigKey="UploadXmlXsl" ResourceFile="XmlResources"></mp:SiteLabel>
                        <div class="forminput">
                            <NeatUpload:InputFile ID="fileToUpload" Size="50" runat="server" />
                            <NeatUpload:ProgressBar ID="progressBar" Inline="false" runat="server">
                                <mp:SiteLabel ID="progresBarLabel" runat="server" ConfigKey="CheckProgressText" />
                            </NeatUpload:ProgressBar>
                        </div>
                    </div>
                    <div class="settingrow">
                        <mp:SiteLabel ID="SiteLabel1" runat="server" CssClass="settinglabel" ConfigKey="spacer" />
                        <div class="forminput">
                            <portal:mojoButton ID="btnUpload" runat="server" />&nbsp;&nbsp;
                            <asp:regularexpressionvalidator id="regexFile" controltovalidate="fileToUpload" validationexpression="(([^.;]*[.])+(xml|xsl|XML|XSL); *)*(([^.;]*[.])+(xml|xsl|XML|XSL))?$"
                                display="Static" enableclientscript="True" runat="server" />
                        </div>
                    </div>
                </asp:panel>
            </fieldset>
        </div>
        <asp:hiddenfield id="hdnReturnUrl" runat="server" />
    </asp:panel>
    <mp:CornerRounderBottom ID="cbottom1" runat="server" />
</asp:content>
<asp:content contentplaceholderid="rightContent" id="MPRightPane" runat="server" />
<asp:content contentplaceholderid="pageEditContent" id="MPPageEdit" runat="server" />